﻿using System;
using System.Windows;

namespace WpfPostgresql
{
    /// <summary>
    /// Interaction logic for StartPage.xaml
    /// </summary>
    public partial class StartPage
    {
        public StartPage()
        {
            InitializeComponent();
        }

        private void SkladClick(object sender, RoutedEventArgs e)
        {
            if (NavigationService != null) NavigationService.Navigate(new Uri("/SkladPage.xaml", UriKind.Relative));
        }

        private void MagazinsClick(object sender, RoutedEventArgs e)
        {
            if (NavigationService != null) NavigationService.Navigate(new Uri("/MagazinsPage.xaml", UriKind.Relative));
        }

        private void NewPosilkaClick(object sender, RoutedEventArgs e)
        {
            if (NavigationService != null) NavigationService.Navigate(new Uri("/PosilkaPage.xaml", UriKind.Relative));
        }

        private void PosilkalistClick(object sender, RoutedEventArgs e)
        {
            if (NavigationService != null) NavigationService.Navigate(new Uri("/PosilkasList.xaml", UriKind.Relative));
        }
    }
}
